#列表的合并

info1 = [1,2,3]
info2 = [4,5,6]
# 合并
info1.extend(info2)
info2.extend(info1)
# 查看列表1
print(info1)  # [1, 2, 3, 4, 5, 6]
print(info2)  # [4, 5, 6, 1, 2, 3, 4, 5, 6]

